Skip to content

Mooncake testsuite refactor#175

Open
lkdvos wants to merge 15 commits intomainfrom
ld-mooncaketests
Open

Mooncake testsuite refactor#175
lkdvos wants to merge 15 commits intomainfrom
ld-mooncaketests

Conversation

@lkdvos
Copy link
Member

@lkdvos lkdvos commented Feb 19, 2026

This is a somewhat large refactor of the Mooncake test suite that hinges on the idea to wrap the in-place functions in such a way that they become admissible to the internal Mooncake testing framework. (Based on ideas suggested by @Jutho, thanks!)

The basic idea is that for a function f!(A, input, alg) we need to:

  1. scratch the A space to not count finite-differences results
  2. avoid generating random tangents for the input variables

I also somewhat reorganized the tests to get a slightly better overview of the mooncake tests.
Finally, this also allowed me to find some small mistakes in the mutating rules, which I have here fixed.
This is also relevant for #174 and #173.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pullbacks/qr.jl 81.81% 2 Missing ⚠️
Files with missing lines Coverage Δ
...gebraKitMooncakeExt/MatrixAlgebraKitMooncakeExt.jl 61.73% <100.00%> (+0.97%) ⬆️
src/pullbacks/qr.jl 94.73% <81.81%> (-1.16%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments